import request from "@/utils/request";

//新增接口
export const addProdTrayInfo = (data) => {
  return request({
    url: "prod/prodTray/add",
    method: "post",
    data,
  });
};
//编辑接口
export const updateProdTrayInfo = (data) => {
  return request({
    url: "prod/prodTray/edit",
    method: "post",
    data,
  });
};
//查询接口
export const queryProdTrayInfoList = (data) => {
  return request({
    url: "prod/prodTray/list",
    method: "post",
    data,
  });
};
//删除接口
export const deleteProdTrayInfo = (data) => {
  return request({
    url: "prod/prodTray/deleteBatch",
    method: "post",
    data,
  });
};
//数据回显接口
export const getProdTrayData = (data) => {
  return request({
    url: `prod/prodTray/queryById?id=${param}`,
    method: "post",
    data,
  });
};